home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / prefs / wbpattern.h < prev   
C/C++ Source or Header  |  1996-09-10  |  2KB  |  78 lines

  1. #ifndef PREFS_WBPATTERN_H
  2. #define PREFS_WBPATTERN_H 1
  3. /*
  4. ** wbpattern.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for wbpattern.h
  17. */
  18. #ifndef WBPatternPrefsPtr
  19. #define WBPatternPrefsPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for wbpattern.h
  23. */
  24.  
  25.  
  26. /*****************************************************************************/
  27.  
  28. #ifndef EXEC_TYPES_H
  29. #include <exec/types.h>
  30. #endif
  31.  
  32. #ifndef LIBRARIES_IFFPARSE_H
  33. #include <libraries/iffparse.h>
  34. #endif
  35.  
  36. /*****************************************************************************/
  37.  
  38. #define ID_PTRN 1347703374 
  39.  
  40. /*****************************************************************************/
  41.  
  42. STRUCT WBPatternPrefs
  43.  
  44.     STRING wbp_Reserved SIZE 16  /* 4*SIZEOF(LONGINT) */
  45.     SHORTINT    wbp_Which          /* Which pattern is it */
  46.     SHORTINT    wbp_Flags 
  47.     BYTE     wbp_Revision           /* Must be set to zero */
  48.     BYTE     wbp_Depth          /* Depth of pattern */
  49.     SHORTINT    wbp_DataLength         /* Length of following data */
  50. END STRUCT 
  51.  
  52. /*****************************************************************************/
  53.  
  54. /* constants for WBPatternPrefs.wbp_Which */
  55. #define WBP_ROOT    0
  56. #define WBP_DRAWER  1
  57. #define WBP_SCREEN  2
  58.  
  59. /* wbp_Flags values */
  60. #define WBPF_PATTERN    &H0001
  61.     /* Data contains a pattern */
  62.  
  63. #define WBPF_NOREMAP    &H0010
  64.     /* Don't remap the pattern */
  65.  
  66. /*****************************************************************************/
  67.  
  68. #define MAXDEPTH    3   /*  Max depth supported (8 colors) */
  69. #define DEFPATDEPTH 2   /*  Depth of default patterns */
  70.  
  71. /*  Pattern width & height: */
  72. #define PAT_WIDTH   16
  73. #define PAT_HEIGHT  16
  74.  
  75. /*****************************************************************************/
  76.  
  77. #endif /* PREFS_WBPATTERN_H */
  78.